<?php
namespace Library\Dal;

interface ActiveRecordInterface
{
	public function select($select);
	public function from();
	public function insert($table, $data = null);
	
	public function where($where, $value = null);
	public function orWhere($where, $value = null);
	public function andWhere($where, $value = null);
	public function xorWhere($where, $value = null);
	
	public function orderBy();
	public function limit($limit, $offset);
	public function join($table, $condition);
	
	public function getParameters();
	public function bind($key, $value, $dataType = \Library\Dal\DataType::String);
}